package com.fas.hehe.system.controller;

import com.fas.core.BaseController;
import com.fas.core.plugin.jfinal.route.ControllerBind;
import com.fas.hehe.system.service.RoleService;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

@ControllerBind(controllerKey="/system/role" , viewPath="/system/role")
public class RoleController extends BaseController {

	public RoleService roleService;
    //分页查询
    public void list(){
            Page<Record> recordList =roleService.queryPage(this.buildPageRequest());
            this.returnPage(recordList);
    }
    
}
